﻿<%@ Page Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>
<asp:Content ID="content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="width:580px">
<div class="ct_top">
<div class="ct_left"></div>
<div class="ct_right"></div>
<div class="ct_center"><h1>Sản phẩm mới</h1></div>
</div> 
 <div class="ct_middle">


    <asp:DataList ID="DataListsanpham" RepeatColumns="3" runat="server">
    <ItemTemplate>
    <table class=tb_sanpham>
    <tr>
    <td>
    <a href="../ChiTietSanPham.aspx?Id=<%#Eval("Idsp") %>"><asp:Image ID="Image2" runat="server" ImageUrl=<%# Eval("Hinh") %> Width="150px" Height="171"  > </asp:Image></a>
    </td>
    </tr>
    <tr>
    <td>
        <asp:Label ID="Label2" runat="server" Text='<%# Eval("Tensp") %>'></asp:Label>
    </td>
    </tr>
        <tr>
    <td style="color:Silver; font-size:12px">
        <asp:Label ID="Label3" runat="server" Text='<%# Eval("Idsp") %>'></asp:Label>
        </td>
        <tr>
        <td style="color:Red; font-size:14px; font-weight:bold" >
         <asp:Label ID="Label4" runat="server"  Text='<%# Eval("Dongia") %>'></asp:Label>
    </td>
    </tr>
    </tr>
   </table>
  </ItemTemplate>
  </asp:DataList>
 
</div>
<div class="ct_bottom">
<div class="ct_left"></div>
<div class="ct_right"></div>
<div class="ct_center"></div>
</div>
 </div>
</asp:Content>